IDL=99;//FLAG TO SHOW IF SELECTIONS SWITCHED ON
IDS=0;//TEMP ID STORE
LMT=14;//CURRENT NO OF ENTRIES

function showDoc(){
document.write(xmlForm.innerHTML);
} 


function updatePlayers(ID,sel){
if ((ID>98) && (IDL>98)){alert("Already RESET!");return;}
theImg= document.getElementsByTagName("img"); //GET IMAGE OBJECT HANDLE
if (ID<98){IDL=ID;theImg[ID].border=2;}else{theImg[IDL].border=0;}//BORDER ON/OFF SELECTED MATCH ICON
var i=0;sel=String(sel);var t="";//SET VARS CONVERT SELECTION TO STRING
while (i<LMT){ //CYCLE THRU AVAILABLE CHANGING ICONS TO MATCH CURRENT SELECTION
s=sel.substring(i,i+1);
theImg[LMT+i].src="./images/Image-" + s +".gif"; //SET ACTUAL AVAIL IMAGE
i++;}
if (ID>98){IDL=99;}
}

 
function updateImage(SEL,srcObj,ID,I){
if (ID>13){IDS=ID-14;} // GET ICON ID IN RANGE
//SEL=ICON SELECTION LIST
//I=CURRENT ICON NUMBER
if (ID==IDL){updatePlayers(99,66666666666666);return;} // 2ND PRESS HIDE ICONS
if (I>5){updatePlayers(ID-14,SEL);return;} // VIEW/ALTER PLAYERS PRESSED
//USR VIEW CANT EDIT RETURN
}

